
<form id="form_add">
<table>
	<tr>
		<td width="20%" align="right">编号：</td>
		<td width="30%"><input type="text" name="code" id="code" size="12" value=""  title="请输入编号，若为空，则系统自动编号"></td>
		<td width="20%" align="right">状态：</td>
		<td width="30%"><select name='status'>
			{[html_options options=$status_option selected=$result.status]}
		</select></td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3"><textarea rows="2" name="name" cols="55">{[$result.name]}</textarea></td>
	</tr>
	<tr>
		<td align="right">规格：</td>
		<td colspan="3"><textarea rows="2" name="standard" cols="55">{[$result.standard]}</textarea></td>
	</tr>
	<tr>
		<td align="right">大类：</td>
		<td colspan="3"><input type="text" name="category" id="category" size="12" value="{[$result.category]}">
		<select name='category_t' id='category_t'>
			{[html_options options=$category_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">小类：</td>
		<td colspan="3"><input type="text" name="subclass" id="subclass" size="12" value="{[$result.subclass]}">
		<select name='subclass_t' id='subclass_t'>
		</select></td>
	</tr>
	<tr>
		<td align="right">单价：</td>
		<td colspan="3"><input type="text" name="price" id="price" size="12" value="{[$result.price]}">
		<input type="text" name="unit" id="unit" size="6" value="{[$result.unit]}">
		<select name='unit_t' id='unit_t'>
			{[html_options options=$unit_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">密度：</td>
		<td colspan="3"><input type="text" name="density" id="density" size="12" value="{[$result.density]}" title=" [可选]（每立方米的重量）"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="4" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
	<tr>
		<td align="right">负责人：</td>
		<td><input type="text" name="emp" id="emp" value="{[$result.emp]}:{[$result.emp_t]}" size="12" title="{[$t.emp_|emp:'负责人']}"></td>
		<td align="right"></td>
		<td></td>
	</tr>		
</table>
</form>

<script type="text/javascript"
	src="js/material/material/add.js?r={[$smarty.now]}"></script>
	